﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace TelligentCommunity 
{
    public class Membership
    {

        //public void AddUser()
        //{
            
        //    var webClient = new WebClient();
        //    webClient.Headers.Add("Rest-User-Token", TelligentCommunity.Connections.NenaRestApi());

        //    var postUrl = TelligentCommunity.NenaRestUrls.UsersUrl;
        //    var data = "<Request><DisplayName>sample-data</DisplayName><PrivateEmail>sample-eaa98@email.com</PrivateEmail><Username>sample-db6d7</Username><Password>sample-data</Password></Request>";

        //    webClient.UploadData(postUrl, "POST", Encoding.ASCII.GetBytes(data));
        //}
    }
}
